var p = prompt();
document.querySelector("#a").value = p;
var a = Math.PI;
var z = 2 * a * p;
document.querySelector("#b").value = z;

var m = a * p * p;
document.querySelector("#c").value = m;